Skip to content

fix(docs): move loop.md to docs/internal/ and drop HTTP-API.md's internal-doc pointer - #278

Merged
V3RON merged 4 commits into
mainfrom
bug/255
Oct 2, 2026
Merged

V3RON merged 4 commits into
mainfrom
bug/255

Conversation

@V3RON

@V3RON V3RON commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Closes #255

This PR also fixes the bug in #254. That issue stays open; close it by hand after merge.

End-user docs no longer point at maintainer docs, and a test now enforces documentation rules 1 and 2.

  • docs/loop.md moves to docs/internal/LOOP.md and joins the maintainer/agent list in AGENTS.md. Its paths are repo-root paths, so they stay correct. A new line at its top, and its AGENTS.md entry, say it is history and that DELIVERY.md replaces it, so an agent does not follow its stage instructions.
  • docs/HTTP-API.md drops the parenthesis with the 0.3.0 history and the docs/internal/KNOWN-PITFALLS.md pointer. The sentence before it already says renew, release and exec answer 403, so users lose nothing they need.
  • src/docs-audience.test.ts checks more than the triage proposed. It catches every link form into internal/ (inline, angle-bracket, reference-style, HTML, backticked), "ADR" and "decision record" in any case, and internal doc names in any case. It also covers .markdown and .MD files and subdirectories of docs/.

Checklist

Review

Spec review: 7 findings, 3 fixed. Code review: 8 findings, 7 fixed.

Rejected:

  • The two guard tests were not asked for — they keep the scan and the list comparison from passing while reading nothing.
  • The LOOP.md banner and AGENTS.md's "DELIVERY.md replaces it" were not asked for — they answer a code-review finding that the new AGENTS.md entry pointed agents at stale stage instructions.
  • The test forbids more than the triage's pinned shapes — documentation rule 2 forbids any pointer into docs/internal/, and those shapes missed reference-style, angle-bracket and HTML links.
  • An internal doc named without .md ("see KNOWN-PITFALLS") passes — the stems are ordinary words (testing, events, safety), so matching them would flag plain prose.
  • A reference wrapped across two lines passes — every path, file name and "ADR" is a single token and cannot wrap; only "decision record" can.

Written by an agent.

V3RON added 4 commits October 2, 2026 19:20
…nternal-doc pointer (#255)

docs/loop.md is a maintainer doc in the end-user directory; it moves to
docs/internal/LOOP.md and joins AGENTS.md's maintainer list. docs/HTTP-API.md
loses the parenthesis that carried 0.3.0 history and pointed at
docs/internal/KNOWN-PITFALLS.md (#254). src/docs-audience.test.ts guards
documentation rules 1 and 2.

Closes #255
…ADRs, and docs/ subdirectories

Also mark docs/internal/LOOP.md as superseded by DELIVERY.md, since AGENTS.md
now lists it for agents.
@V3RON
V3RON merged commit ecdc20f into main Oct 2, 2026
14 checks passed
@V3RON
V3RON deleted the bug/255 branch November 6, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs/loop.md is an agent doc in the end-user docs directory

1 participant